import Entity from './entity'

export default class Commodity extends Entity<number>{
    name:       string;
    tags:     Array<string> = [];
    commodityWareId: Number;
    classes:    Array<string> = [];
    shelved:    Boolean;
    isRecommended: Boolean;
    isEnabledShoppingOption: Boolean;
    discountable: Boolean;
    isDiscountPerLevel: Boolean;
    discounts: Object = {};
    description: String = "";
    specificationParameters: Object = {};

    price:Number = 0.00;
    inventory:Number = 0;
    minLimitCount:Number = 1;
    maxLimitCount:Number = 100;
    xPValue:Number = 0;
    picture:String = "";
    pictures:Array<String> = []

    selectedShoppingOptionParameters:Array<string> = [];
    shoppingOptions:Array<Object> = []
}